package edu.sctu.practice.class02.yangyuran.assign01;

/**
 * Created by yuran.yang on 2015/9/24.
 */
public class Type {

    String name = "步步高增强版";
    String company = "步步高";
    int price = 79;


    public void add() {
        System.out.println("计算器有加法功能");
    }

    public void minus() {
        System.out.println("计算器有减法功能");
    }

    public void multiply() {
        System.out.println("计算器有乘法功能");
    }

    public void divide() {
        System.out.println("计算器有除法功能");
    }

    public void qualities() {
        System.out.println("该计算器厂商为：" + company + "  " + "名称为：" + name + "  " + "价格为：" + price);
    }
}
